package com.sxfans.io;

import java.io.IOException;

public class Test {
	public static String staticField = "静态变量";
	public String field = "变量";
	
	static {
		System.out.println(staticField);
		System.out.println("静态初始化块");
	}
	
	{
		System.out.println(field);
		System.out.println("初始化块");
	}
	
	public static void main(String[] args) throws IOException {
		Test test = new Test();
		Test test1 = new Test();
	}
}
